package com.xmg.server.goods.mapper;

import com.xmg.shop.api.domain.ProductSku;

import java.util.List;

public interface ProductSkuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductSku record);

    ProductSku selectByPrimaryKey(Long id);

    List<ProductSku> selectAll();

    int updateByPrimaryKey(ProductSku record);

    int queryCount(Long productId);

    List<ProductSku> selectByProductId(Long productId);
}